var express = require('express');
var router = express.Router();

router.get('/hei', (req, res) => {
  console.log(req.query);
  res.end(req.query.data)
});
/* GET home page. */
router.get('/', function (req, res, next) {
  res.render('index', { title: 'Express' });
});

module.exports = router;
